<html>
<head>
<script type="text/javascript" src="./js/jquery.js"></script>
<script type="text/javascript" src="./js/jquery.print.js"></script>  
<script type="text/javascript">
$(document).ready(function(){
 //printable function for direct print
  $( ".printable" ).print();
});
</script>
</head>
<a href="serviceList.php"><font color="red">Back</font></a>  
<body>
<div class="printable"> 
	<table align="center" border="1" cellpadding="3" cellspacing="0" width="80%">
<tr>
  <td>
    <table align="center" border="0" cellpadding="3" cellspacing="0" width="100%">
    <tr>
      <td colspan="2"><img src="./images/edLogo.jpg" /></td>
      <td align="center" NOWRAP><b>New Installation</b></td>
      <td align="right"><img src="./images/edAddress.jpg" /></td>
    </tr>
    <tr>
      <td rowspan="2" width="10%" valign="top">To : </td>
      <td rowspan="2">{$printArray.companyName},<br/>{$printArray.address}</td>
    </tr>
    <tr>
      <td align="right">Date : </td><td>{$printArray.installationDate}</td>
    </tr>
    <tr>
    	<td>City : </td><td>{$printArray.city}</td>
    </tr>
    </table>
  </td>
</tr>
<tr>
  <td>
    <table border="1" align="center" width="100%" cellpadding="3" cellspacing="0">
    <tr>
      <td width="10%">SR.NO</td>
      <td width="10%" align="center">Category</td>
      <td width="60%" align="center">DESCRIPTION OF MATERIAL</td>
    </tr>
    {section name="sec" loop=$newInstallationArray}
    <tr>
      <td>{$smarty.section.sec.rownum}</td>
      <td>{$newInstallationArray[sec].categoryName}</td>
      <td>{$newInstallationArray[sec].description}</td>
    </tr>
    {/section}
    </table>
  </td>
</tr>
<tr>
	<td>
		<table border="0" align="center" cellpadding="3" cellspacing="0" width="100%">
		<tr>
     <td height="80" colspan="3" valign="top">Customer Feedback : </td>
     <td align="right" valign="bottom">_______________ Customer Sign</td>
    </tr>
	  </table>	
  </td>
</tr>
</table>
</div>
</body>
</html>